package com.ecloud.support.generator.service.iface;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ecloud.common.base.result.Result;
import com.ecloud.support.generator.model.dto.TemplateDto;
import com.ecloud.support.generator.model.entity.TemplatePo;

/**
 * ITemplateService
 *
 * @author LiuGangQiang Create in 2021/04/15
 */
public interface ITemplateService extends IService<TemplatePo> {

    /**
     * 查询列表
     *
     * @author LiuGangQiang Create in 2021/04/01
     * @param dto 入参
     * @return {@link Result}
     */
    Result<?> queryList(TemplateDto dto);

    /**
     * 批量新增
     *
     * @author LiuGangQiang Create in 2021/06/11
     * @param dto 入参
     * @return {@link Result}
     */
    Result<?> insertBatch(List<TemplateDto> dtos);
}
